using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Clone_Skill : Skill
{
    [Header("Clone info")]
    [SerializeField] private GameObject clonePrefabs;
    [SerializeField] private float cloneDuraton;
    [Space]
    [SerializeField] private bool canAttack;
    public void CreateClone( Transform _newTransfrom)
    {
        GameObject cloneObject = Instantiate(clonePrefabs);

        cloneObject.GetComponent<Clone_Skill_Controller>().SetUpClone(_newTransfrom, cloneDuraton, canAttack);
    }
}
